function showCode(url) {
    $('#qrcode').qrcode({ width: 128, height: 128, text: url });
}
function newShowCode(){
    QrCode = new WxLogin({
        id: "wx_login_modal",
        appid: "wx692f8f2a*********",
        scope: "snsapi_login",
        redirect_uri: encodeURI("https://*******/"),
        state: "null",
        style: "white",
        href: "https://********/css/wechat_login.css"
    });
    $("#wx_login_modal").show();  
}
$(document).ready(function () {
    let url = $("#wxCode").val();
    console.log(url);
    // showCode(url);
    newShowCode();
});